package com.carleasoft.mps.adu.business.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.carleasoft.mps.adu.business.user.bean.entity.AuthorityUserTypeEntity;
import com.carleasoft.mps.adu.business.user.bean.po.AuthorityUserTypePo;

import java.util.List;

/**
 * <p>Description: userTypeService</p>
 * @since 2020-05-09
 * @author ztm
 */
public interface AuthorityUserTypeService extends IService<AuthorityUserTypeEntity> {

    /**
     * 添加用户类型
     * @param authorityUserTypePo
     * @return void
     */
    void addUserType(AuthorityUserTypePo authorityUserTypePo);

    /**
     * 编辑用户类型
     * @param authorityUserTypePo
     * @return void
     */
    void updateUserType(AuthorityUserTypePo authorityUserTypePo);

    /**
     * 删除用户类型
     * @param userTypeCode
     * @return void
     */
    void deleteUserType(String userTypeCode);
    /**
     * 查询用户类型集合
     * @param authorityUserTypePo
     * @return void
     */
    List<AuthorityUserTypeEntity> userTypePage(AuthorityUserTypePo authorityUserTypePo);
    /**
     * 编码转换
     * @param userTypeCode
     * @return void
     */
    String convertFromCodeToNum(String userTypeCode);

}
